#!/usr/env/bin python
# -*- coding: utf-8 -*-

# @Time    : 2019/12/12 00:45|00:45
# @Author  : yangdingyi
# @File    : 两个数组的交集
# @Software: PyCharm

from typing import List


class Solution:
    def intersection(self, nums1: List[int], nums2: List[int]) -> List[int]:
        # return list(set(nums1).intersection(set(nums2)))
        return list(set(nums1) & set(nums2))
